home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 3: Developer Tools / Linux Cubed Series 3 - Developer Tools.iso / devel / lang / lisp / gcl-1.000 / gcl-1 / gcl-1.0 / bin / makefile < prev   
Encoding:
Makefile  |  1994-05-09  |  1.3 KB  |  63 lines

  1. DEFS    = -DUNIX
  2. CFLAGS  = $(DEFS) 
  3. CC=cc
  4.  
  5. # begin makedefs
  6. GCLDIR=/d11/wfs/newakcl
  7. SHELL=/bin/sh
  8. MACHINE=sun4
  9.  
  10. LBINDIR=/usr/local/bin
  11. OFLAG    =  -O
  12. LIBS    = -lm 
  13.  
  14. #include "sparc.h"
  15.  
  16. # the commercial (for money) C compiler has never been able
  17. # to compile akcl/gcl correctly.  Perhaps it does not like the idea
  18. # that this is free software.   However the standard C compiler is ok.
  19.  
  20. CC = cc  -DVOL=  -I$(GCLDIR)/o -Bstatic -temp=. -pipe
  21. CC = cc  -DVOL=  -I$(GCLDIR)/o -Bstatic  -pipe
  22. ODIR_DEBUG=-O4
  23.  
  24. #gcc 2.1 and 2.2 compile gcl correctly as far as I have been able to determine.
  25. #gcc 2.3.3 does not compile gcl correctly
  26. # gcc 2.5.7 is correct as far as I can tell
  27. #CC = gcc -I${GCLDIR}/o -static -DVOL=volatile -W 
  28.  
  29. AS=as -P
  30.  
  31. CFLAGS    = -c $(DEFS)  -I../h
  32.  
  33. MAIN    = ../o/main.o
  34.  
  35. MPFILES=$(MPDIR)/mpi-sparc.o $(MPDIR)/sparcdivul3.o $(MPDIR)/libmport.a
  36. #MPFILES=${MPDIR}/mpi.o ${MPDIR}/libmport.a
  37.  
  38. RSYM    = rsym
  39. SFASL    = $(ODIR)/sfasl.o
  40.  
  41. # This function will be run before dumping.
  42. # When using SFASL it is good to have (si::build-symbol-table)
  43. INITFORM=(si::build-symbol-table)
  44.  
  45.  
  46.  
  47. # Use symbolic links
  48. SYMB=-s
  49. # the  make to use for saved_kcp the profiler.
  50. KCP=kcp-sun
  51.  
  52. NULLFILE = ../h/secondary_sun_magic
  53.  
  54. # end makedefs
  55.  
  56. all:    dpp
  57.  
  58. dpp:    dpp.c
  59.     ${CC} ${DEFS} -o dpp dpp.c
  60.  
  61. clean:
  62.     rm -f dpp core a.out *.o
  63.